<?php

require_once('resources/class/private/webos.php');

$webos = new webosClass();

$appData = $webos -> get_application(Jpublic::get('key'), Jpublic::get('type'), Jpublic::get('search'));

while ($dr = mysql_fetch_array($appData)) {
	
	$appList .= '<app id="' . $dr['webosAppListID'] . '" name="' . $dr['appName'] . '" ico="' . $dr['appIco'] . '" config="' . APPLICATION_CONFIG . '&amp;appid=' . $dr['webosAppListID'] . '" verify="' .$dr['appVerify'] . '" explain="' . $dr['appExplain'] . '"></app>';
	
}

header("Content-type: text/xml");

?>
<xmlData>

	<Application>
		
		<?php echo $appList;?>

	</Application>

</xmlData>